package com.magist.manage.copyrights.importExcel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public class ContractRightsImportDto implements Serializable {
    private static final long serialVersionUID = 1L;


    @Excel(name = "版权号", orderNum = "1")
    private String copyrightsNo;
    @Excel(name = "合同编号", orderNum = "1")
    private String contractNo;
    @Excel(name = "所授权利(多选)", replace = {"表演权_PERFORM","信息网络传播权_InternetSpread","改编权_RECOMPOSE","转授权_SUBLICENSE","翻译权_TRANSLATION","表演权,信息网络传播权_PERFORM,InternetSpread","表演权,改编权_PERFORM,RECOMPOSE","表演权,转授权_PERFORM,SUBLICENSE","表演权,翻译权_PERFORM,TRANSLATION","信息网络传播权,改编权_InternetSpread,RECOMPOSE","信息网络传播权,转授权_InternetSpread,SUBLICENSE","信息网络传播权,翻译权_InternetSpread,TRANSLATION","改编权,转授权_RECOMPOSE,SUBLICENSE","改编权,翻译权_RECOMPOSE,TRANSLATION","转授权,翻译权_SUBLICENSE,TRANSLATION","表演权,信息网络传播权,改编权_PERFORM,InternetSpread,RECOMPOSE","表演权,信息网络传播权,转授权_PERFORM,InternetSpread,SUBLICENSE","表演权,信息网络传播权,翻译权_PERFORM,InternetSpread,TRANSLATION","表演权,改编权,转授权_PERFORM,RECOMPOSE,SUBLICENSE","表演权,改编权,翻译权_PERFORM,RECOMPOSE,TRANSLATION","表演权,转授权,翻译权_PERFORM,SUBLICENSE,TRANSLATION","信息网络传播权,改编权,转授权_InternetSpread,RECOMPOSE,SUBLICENSE","信息网络传播权,改编权,翻译权_InternetSpread,RECOMPOSE,TRANSLATION","信息网络传播权,转授权,翻译权_InternetSpread,SUBLICENSE,TRANSLATION","改编权,转授权,翻译权_RECOMPOSE,SUBLICENSE,TRANSLATION","表演权,信息网络传播权,改编权,转授权_PERFORM,InternetSpread,RECOMPOSE,SUBLICENSE","表演权,信息网络传播权,改编权,翻译权_PERFORM,InternetSpread,RECOMPOSE,TRANSLATION","表演权,信息网络传播权,转授权,翻译权_PERFORM,InternetSpread,SUBLICENSE,TRANSLATION","表演权,改编权,转授权,翻译权_PERFORM,RECOMPOSE,SUBLICENSE,TRANSLATION","信息网络传播权,改编权,转授权,翻译权_InternetSpread,RECOMPOSE,SUBLICENSE,TRANSLATION","表演权,信息网络传播权,改编权,转授权,翻译权_PERFORM,InternetSpread,RECOMPOSE,SUBLICENSE,TRANSLATION"}, orderNum = "1")
    private String copyrightClass;
    @Excel(name = "是否独家授权", replace = {"是_T","否_F"},orderNum = "1")
    private String soleFlag;
    @Excel(name = "有无转授权", replace = {"有_T","无_F"},orderNum = "1")
    private String subRightsFlag;
    @Excel(name = "有无补协议", replace = {"有_T","无_F"},orderNum = "1")
    private String protocolFlag;
    @Excel(name = "补充协议合同编号(选填)", orderNum = "1")
    private String protocolNo;
    @Excel(name = "开始时间", importFormat = "yyyy-MM-dd", orderNum = "1")
    private Date beginDate;
    @Excel(name = "终止时间", importFormat = "yyyy-MM-dd", orderNum = "1")
    private Date endDate;
    @Excel(name = "权限使用范围(多选)", replace = {"海外_OVERSEAS","中国大陆_MAINLAND","港澳台_GAT","海外,中国大陆_OVERSEAS,MAINLAND","海外,港澳台_OVERSEAS,GAT","中国大陆,港澳台_MAINLAND,GAT","海外,中国大陆,港澳台_OVERSEAS,MAINLAND,GAT"}, orderNum = "1")
    private String copyrightsRange;
    @Excel(name = "使用平台(多选)", replace = {"乙方自有平台_TwoOwnPlatform","乙方关联平台_TwoLinkPlatform","乙方自有平台,乙方关联平台_TwoOwnPlatform,TwoLinkPlatform","乙方关联平台,乙方自有平台_TwoLinkPlatform,TwoOwnPlatform"}, orderNum = "1")
    private String usedPlatform;
    @Excel(name = "是否已提供原始版权", replace = {"已提供_T","未提供_F"}, orderNum = "1")
    private String originalCopyrightsFlag;
    @Excel(name = "备注(选填)", orderNum = "1")
    private String remark;

    @Excel(name = "结算形式", replace = {"买断_BUY","预付加分成_PrePayDivide","无预付纯分成_DIVIDE","复合结算_MixClear"}, orderNum = "1")
    private String balanceType;
    @Excel(name = "金额", orderNum = "1")
    private Double balance;
    @Excel(name = "甲方比例(若买断,则选填)", orderNum = "1")
    private Integer partyOneNum;
    @Excel(name = "乙方比例(若买断,则选填)", orderNum = "1")
    private Integer partyTwoNum;
    @Excel(name = "丙方比例(若买断,则选填)", orderNum = "1")
    private Integer partyThreeNum;
    @Excel(name = "结算说明(选填)", orderNum = "1")
    private String balanceRemark;

}